Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
root@***# dpkg --list | grep wine
rc wine 1.1.2~winehq0~ubuntu~8.04-2-0ubuntu1 Microsoft Windows Compatibility Layer (Binar
root@***# apt-get remove wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@***#
Thank you. If I could - I would pass to you a cookie
Still:
Quote:
@***$ sudo apt-get purge wine
[sudo] password
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
@***$ wine
preloader: Warning: failed to reserve range 00000000-60000000
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
maybe some package "winelib" or "libwine" is still installed (that exists in debian, and *ubuntu is based on debian)...
or did you maybe install wine otherwise than through apt (like a source package)?
I installed un uninstalled few wine versions because I wanted to run some game but I did not succeed. I installed with apt-get, I also installed with Adept, I did compile and install older versions, one of them had ./tools/installer script.
I installed un uninstalled few wine versions because I wanted to run some game but I did not succeed. I installed with apt-get, I also installed with Adept, I did compile and install older versions, one of them had ./tools/installer script.
All I want is just to remove it correctly.
Thanks
So you did install it from different sources. I'm afraid uninstalling all things from wine will be a bit difficult, but there should be hints included with what you installed. In short, read files like "INSTALL" or "README" that come with the wine editions you have (except the one that comes with ubuntu - you already removed that), I hope there is something about uninstallation.
good luck with this
It looks like wine is installed in /usr/local/... which usually means you have installed it manually - i.e. not with the package management system.
I assume you are familiar with Windows, so I'd like a draw an analogy. Lets say you get an application which is in a .zip file - there is no installer - the zip file just contains containing a .exe file and a few .dlls and data files. You unzip this in C:\myapp\. In this case you would no expect to be able to go to add/remove programs to un-install it - it has not been registered with the OS - you must manually delete it.
The same thing goes for any software which you install on a debian/ubuntu system where you do not use one of th front ends to the package management system (apt-get or aptitude or adept or synaptic and so on).
When you build software from source, it does not use the package management system. Some (but not all) projects provide a "make uninstall" target. If you have this, and remember building and installing with "make install", you should be fine to use it.
If there is no "make uninstall" target, you simply have to go and delete the files for th program. This can be a little fiddly because the file system layout means the files are split over several areas - the binary goes in <prefix>/bin, the libraries go in <prefix>/lib, and so on.
For this reason, when I am building from source, I usually set the <prefix> to be /opt/<applicationname>/
This way, everything gets installed under one directory, and if I want to get rid of it, I just delete that directory. The down-side is that the binary will not be in the PATH, and if there are libraries to load, I sometimes need to set the LD_LIBRARY_PATH. For me this is worth the effort for the clean un-install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.